import ajax from './ajax.js'
// const XWWWFROMURLENCODED = 'application/x-www-form-urlencoded'

export function loginFn(data) {
  return ajax.post({
    url: '/api/user/login',
    data,
    notoken: true
  })
}

export function sendMsg(data) {
  return ajax.post({
    url: '/api/user/login',
    data,
    notoken: true
  })
}
